//导入express和题库的业务逻辑处理的模块
const express = require('express');
const T_paper_info = require('../router_handler/T_paper_info');

const router = express.Router()


//试卷的内容分为    描述性内容   和    题目内容


//查询某一学科试卷的规定信息
router.get('/exam/paper_info/desc', T_paper_info.getALLPaperInfo)

// 创造一张试卷的规定
router.post('/exam/paper_info/create', T_paper_info.createt_paperInfo)

//为某一个试卷修改规定信息
router.put('/exam/paper_info/update', T_paper_info.update_PaperInfo)

//删除试卷的规定信息
router.delete('/exam/paper_info/delete', T_paper_info.delete_paperInfo)



//导出
module.exports = router